package com.qingke.OMS.Command.Imp;

import java.util.ArrayList;
import java.util.List;

import com.qingke.OMS.Command.Command;
import com.qingke.OMS.Dao.PeopleDao;
import com.qingke.OMS.Pojo.People;

public class checkAllPeopleCommand implements Command{

	@Override
	public void execute() {
	      PeopleDao pdao=new PeopleDao();
	      List<People> peoples=new ArrayList<>();
	      peoples=pdao.checkAllPeople();
	for (People people : peoples) {
		System.out.println(people);
	}
	}
       
}
